x86-64: workaround for BIOSes wrongly enabling LAHF_LM feature indicator
authorKeir Fraser <keir@xen.org>
Mon, 11 Oct 2010 08:02:36 +0000 (09:02 +0100)
committerKeir Fraser <keir@xen.org>
Mon, 11 Oct 2010 08:02:36 +0000 (09:02 +0100)
commitf94333a6c09e2238d80ecb697e3ac97d7855c9d2
treef71d75998a28969e44afec7877b5d7242acccbfa
parent80d9a6abdd76cf7b4f206326264966e91f936115
x86-64: workaround for BIOSes wrongly enabling LAHF_LM feature indicator

This workaround is taken from Linux, and the main motivation (besides
such workarounds indeed belonging in the hypervisor rather than each
kernel) is to suppress the warnings in the Xen log each Linux guest
would cause due to the disallowed wrmsr.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/cpu/amd.c